Selecting portions of computer-accessible documents for post-selection processing

ABSTRACT

Processing documents by highlighting a portion of a document displayed on a computer display, where the portion is highlighted when a cursor is in a predefined location of the display relative to the location of the portion of the document, where the portion is identified as a candidate for selection for a post-selection operation prior to the cursor being in the predefined location of the display, and where the highlighting is done independent of any input received via a computer input device to indicate the extents of the portion, and recording a selection of the portion when an input that is predefined to indicate a selection action is received in association with the portion via a computer input device.

FIELD OF THE INVENTION

The present invention relates to editing and processing of computer-accessible documents in general, and more particularly to selecting portions of computer-accessible documents for post-selection processing.

BACKGROUND OF THE INVENTION

As technology has enabled information to be shared more widely, control of the availability of information due to legal, security, and privacy concerns has become more difficult, due in great part to the sheer volume of information that is accessible via public and private computer networks. While tools are available for protecting information using various means, they are sometimes manual-intensive and tedious to use. For example, redaction tools are available that enable human editors to manually indicate which portions of computer-accessible documents should be withheld from document requestors under various circumstances. In many instances this is done by visually scanning a document and using a mouse to control a cursor to indicate the extents of each portion of the document that is to be protected. Likewise, other types of applications require a user to repeatedly mark and select portions of a document as a primary part of the application usage

Systems, methods, and/or computer program products that enable working with computer-accessible documents in a less manual-intensive manner, particularly when selecting portions of computer-accessible documents for post-selection processing such as document redaction, would therefore be advantageous.

SUMMARY OF THE INVENTION

In one aspect of the invention a method is provided for processing documents, the method including highlighting a portion of a document displayed on a computer display, where the portion is highlighted when a cursor is in a predefined location of the display relative to the location of the portion of the document, where the portion is identified as a candidate for selection for a post-selection operation prior to the cursor being in the predefined location of the display, and where the highlighting is done independent of any input received via a computer input device to indicate the extents of the portion, and recording a selection of the portion when an input that is predefined to indicate a selection action is received in association with the portion via a computer input device. System and computer program product embodiments of the invention are also provided.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will be understood and appreciated more fully from the following detailed description taken in conjunction with the appended drawings in which:

FIG. 1 is a simplified conceptual illustration of a system for selecting portions of computer-accessible documents for post-selection processing, constructed and operative in accordance with an embodiment of the invention;

FIG. 2 is a simplified flowchart illustration of an exemplary method of operation of the system of FIG. 1, operative in accordance with an embodiment of the invention;

FIGS. 3A-3C are a simplified conceptual illustrations of an exemplary implementation of the system of FIG. 1 and method of FIG. 2; and

FIG. 4 is a simplified block diagram illustration of an exemplary hardware implementation of a computing system, constructed and operative in accordance with an embodiment of the invention.

DETAILED DESCRIPTION OF THE INVENTION

The invention is now described within the context of one or more embodiments, although the description is intended to be illustrative of the invention as a whole, and is not to be construed as limiting the invention to the embodiments shown. It is appreciated that various modifications may occur to those skilled in the art that, while not specifically shown herein, are nevertheless within the true spirit and scope of the invention.

As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).

Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.

The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

Reference is now made to FIG. 1, which is a simplified conceptual illustration of a system for selecting portions of computer-accessible documents for post-selection processing, constructed and operative in accordance with an embodiment of the invention.

In the system of FIG. 1, a candidate identifier 100 accesses a document, such as a Microsoft Word™-format document having one or more images, styled text, tables, columns, and/or zones, and that is preferably stored on a physically-tangible computer-readable medium, such as a magnetic data storage device. Candidate identifier 100 preferably employs predefined candidate criteria 102 to identify one or more portions of the document as candidates for post-selection processing. Identified candidate portions of the document may include:

1. Syntactic identification of

-   -   words, sentences, paragraphs     -   images or other embedded objects     -   document zones or regions

2. Semantic identification of

-   -   named entities, such as Personal Name, Address, SSN     -   semantically related portions of document, such as diagnosis and         medications         or any combination of the above.

Candidate identifier 100 preferably uses any conventional technique to identify such candidate portions of the document. For example, candidate identifier 100 may employ Optical Character Recognition techniques (OCR), with or without standard OCR zoning algorithms, to simultaneously understand the document as text and as a pixel-for-pixel image, which may include styled text, images, and text-in-images. Candidate identifier 100 may be configured to detect word boundaries, sentence boundaries, or paragraph boundaries by applying natural language processing (NLP) techniques.

Additionally or alternatively, candidate identifier 100 may employ linguistic grammar-based techniques as well as statistical models for named entities identification, such as by using entity-extraction features of System T™, commercially available from International Business Machines Corporation of Armonk, N.Y., to extract meaningful sequences of text according to the specifications of candidate criteria 102 which may, for example, include rules regarding redaction. For example, the system may identify Social Security Numbers, Addresses, Diagnoses, Organizations, or Personal Names. Such entity extraction may be performed on text directly extracted from the document, and/or on text derived from the document using OCR techniques.

Candidate identifier 100 preferably records the location of each identified candidate portion in a store of candidate locations 104, representing the location of each candidate portion within the document using any conventional technique, such as by line and column or X/Y offset.

A selection interface 106 preferably displays the document on a computer display, such as of a computer 114, before, during, or after candidate identifier 100 identifies the candidate portions as described above. Selection interface 106 is preferably configured to monitor the location of a cursor, such as a mouse-controlled cursor, on the computer display with respect to the displayed document, such that selection interface 106 can determine when the cursor is in a predefined location of the display relative to a given identified candidate portion of the document as stored in candidate locations 104. For example, the predefined location may be defined as when any part of the cursor is co-located with any part of a given portion. Alternatively, the predefined location may be defined as when any part of the cursor is within a predefined number of pixels of any part of a given portion. When selection interface 106 determines that the cursor is in a predefined location of the display relative to a given portion of the document as stored in candidate locations 104, selection interface 106 preferably highlights the entire portion on the display, and thereby does so independent of any input received via a computer input device that indicates the extents of the portion. Thus, for example, a user does not need to click and drag the cursor to define the extents of a portion of a document and highlight the portion. Rather, since the extents of a portion of a document are identified in advance of any cursor action with respect to the portion, the entire portion may be automatically highlighted simply by moving the cursor near to or over an identified portion. The user may then select the highlighted portion by providing an input via a computer input device and in association with the highlighted portion, such as by clicking the mouse or pressing the space bar while the cursor is on or near the highlighted portion and where such actions are predefined to indicate a selection action. Selection interface 106 preferably records in a store of selections 108 which portions of the document have been selected in this manner, such as by storing in selections 108 the location of the portion as recorded in candidate locations 104 or any other type of identifier identifying the selected portion as stored in candidate locations 104.

After a portion of the document has been selected in the manner described above, a post-selection processor 110 may perform one or more post-selection operations on the selected portion to produce a processed document, such as in accordance with predefined processing information 112 that describes how the selected portion should be processed. Examples of such post-selection operations include:

-   -   redacting the document by withholding a selected portion from a         requestor of the document who is not authorized to view or         otherwise access the selected portion, where processing         information 112 includes withholding rules;     -   applying a visual style to the selected portion, where         processing information 112 includes style information and rules,         and     -   submitting the selected portion as an input to a software         application, where processing information 112 includes API         information for the software application.

Any of the elements shown are preferably executed by or otherwise made accessible to computer 114, such as by implementing any of the elements in computer hardware and/or in computer software embodied in a computer-readable medium in accordance with conventional techniques.

Some alternative variations of the behavior of the system of FIG. 1 may include:

-   -   If a candidate portion of a particular entity type is         highlighted when the cursor is on or near the candidate portion,         highlighting other candidate portions of the document that are         of the same semantic entity type, such as all Social Security         Numbers or all Personal Names;     -   If a candidate portion of a particular value is highlighted when         the cursor is on or near the candidate portion, highlighting         other candidate portions of the document that are of the same         value, such as all instances of “John Smith”, or that are         variants of the highlighted candidate portion, such as where the         highlighted candidate portion is the telephone number         “342-244-2944,” and the variants are “1 (342) 244-2944” and         “3422442944”;     -   If highlighting a candidate portion results in the highlighting         of other related portions as described above, selection of the         highlighted candidate portion will cause the automatic selection         of the other highlighted related portions, optionally with a         confirmation prompt;     -   Multiple candidate portions that are considered close to each         other in accordance with predefined closeness criteria, such as         Euclidean distance, may be consolidated into a single portion         and considered for selection as a single portion. For example,         several candidate portions may be united within a graphical         rectangle which bounds them, or several candidate portions in a         syntactic unit, such as a sentence, paragraph, zone, or page,         may be united by automatically highlighting the whole sentence,         paragraph, zone, or page.

Reference is now made to FIG. 2, which is a simplified flowchart illustration of an exemplary method of operation of the system of FIG. 1, operative in accordance with an embodiment of the invention. In the method of FIG. 2, one or more portions of a document are identified, using predefined candidate criteria, as candidates for post-selection processing (step 200). The location of each identified candidate portion within the document is represented using any conventional technique and recorded (step 202). The document is displayed on a computer display before, during, or after the candidate portions are identified as described above (step 204). The location of a cursor on the computer display is monitored to determine when a user places the cursor in a predefined location of the display relative to a given identified candidate portion of the document as displayed (step 206). If the cursor is in such a predefined location (step 208), the identified candidate portion is highlighted on the computer display, preferably in its entirety (step 210). Optionally, other portions that are related to the highlighted portion as described above may also be highlighted (step 212). The user may select the highlighted portion or portions by performing a predefined selection action using a computer input device while the portion or portions are highlighted (step 214), and the selections are recorded (step 216). One or more post-selection operations may be performed on selected portions to produce a processed document, such as in accordance with predefined processing information that describes how the selected portion should be processed (step 218).

An implementation of the system of FIG. 1 and method of FIG. 2 may be illustrated by way of example as shown in FIGS. 3A-3C. In FIG. 3A a document is shown of a patient's medical record. Using the system of FIG. 1 and method of FIG. 2 a patient's Social Security Number 300 is identified as a candidate for post-selection processing, being redaction in this example. When a cursor 302 is detected as touching a portion of Social Security Number 300, the entire Social Security Number 300 is highlighted without requiring any further action by the user who is controlling cursor 302. The user may then select the now-highlighted Social Security Number 300 for post-selection processing by performing a predefined selection action, such as by clicking a button on the user's mouse input device.

In FIG. 3B a patient's name 304 is identified as a candidate for post-selection processing. When cursor 302 is detected as touching a portion of patient name 304, the entire patient name 304 is highlighted without requiring any further action by the user who is controlling cursor 302. Additionally, variants of patient name 304 are automatically highlighted at reference numerals 306 and 308, where conventional techniques are used to identify such variants. The user may then select the highlighted patient name 304 as well as the variants 306 and 308 for post-selection processing by performing the predefined selection action.

FIG. 3C shows the patient's medical record after post-selection processing, where the selected portions of the document have been redacted.

Referring now to FIG. 4, block diagram 400 illustrates an exemplary hardware implementation of a computing system in accordance with which one or more components/methodologies of the invention (e.g., components/methodologies described in the context of the drawing figures shown and described herein) may be implemented, according to an embodiment of the invention.

As shown, the techniques for controlling access to at least one resource may be implemented in accordance with a processor 410, a memory 412, I/O devices 414, and a network interface 416, coupled via a computer bus 418 or alternate connection arrangement.

It is to be appreciated that the term “processor” as used herein is intended to include any processing device, such as, for example, one that includes a CPU (central processing unit) and/or other processing circuitry. It is also to be understood that the term “processor” may refer to more than one processing device and that various elements associated with a processing device may be shared by other processing devices.

The term “memory” as used herein is intended to include memory associated with a processor or CPU, such as, for example, RAM, ROM, a fixed memory device (e.g., hard drive), a removable memory device (e.g., diskette), flash memory, etc. Such memory may be considered a computer readable storage medium.

In addition, the phrase “input/output devices” or “I/O devices” as used herein is intended to include, for example, one or more input devices (e.g., keyboard, mouse, scanner, etc.) for entering data to the processing unit, and/or one or more output devices (e.g., speaker, display, printer, etc.) for presenting results associated with the processing unit.

The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

While the methods and apparatus herein may or may not have been described with reference to specific computer hardware or software, it is appreciated that the methods and apparatus described herein may be readily implemented in computer hardware or software using conventional techniques.

While the invention has been described with reference to one or more specific embodiments, the description is intended to be illustrative of the invention as a whole and is not to be construed as limiting the invention to the embodiments shown. It is appreciated that various modifications may occur to those skilled in the art that, while not specifically shown herein, are nevertheless within the true spirit and scope of the invention. 

What is claimed is:
 1. A system for processing documents having text, the system comprising: a processor; and a computer-readable storage medium coupled to the processor and storing computer program instructions, wherein the computer program instructions are executed by the processor to perform: automatically identifying text portions of a document, along with variations of at least one of the text portions in accordance with predefined variance criteria, as candidates for potential selection for a post-selection operation when the text portions meet predefined text selection candidate criteria; recording a location of each of the candidates within the document in a store of candidate locations; displaying the document on a computer display; in response to determining that a cursor is in a predefined location of the document relative to a recorded location in the store of candidate locations of a candidate from the candidates in the document, highlighting a text portion associated with the candidate in the document, wherein the highlighting is done independent of any input received via a computer input device to indicate an extent of the text portion, in response to receiving selection of the highlighted text portion, recording the selection of the text portion in association with the text portion in a store of selections; and performing the post-selection operation on the selected text portion of the document.
 2. The system of claim 1 wherein the operations further comprise: consolidating into a single portion two or more of the text portions that are considered close to each other in accordance with a predefined closeness criterion.
 3. The system of claim 1 wherein the operations further comprise: highlighting the text portion when any part of the cursor is co-located with any part of text portion or is within a predefined number of pixels of any part of the portion or both.
 4. The system of claim 1 wherein the operations further comprise: concurrently highlighting the text portion and another portion of the document, wherein the highlighted text portions are of one or more of a same semantic entity type, a same value and variations of the same value in accordance with predefined variance criteria.
 5. The system of claim 1 wherein the text portions are identified as candidates for selection for the post-selection operation when the text portions meet the predefined text selection candidate criterion that includes one or more of word, sentence, paragraph and linguistic grammar-based criterion.
 6. The system of claim 4 wherein the operations further comprise: recording the selection of each of the text portions when a selection action is received in association with one of the text portions.
 7. The system of claim 4 wherein the operations further comprise: concurrently highlighting the portions wherein the highlighted text portions are of one or more of the same semantic entity type, the same value and variations of the same value in accordance with predefined variance criteria.
 8. The system of claim 4 wherein the operations further comprise: accessing the document that is stored on the computer-readable storage medium.
 9. The system of claim 4 wherein the operations further comprise: performing the post-selection operation by withholding the selected text portion from a requestor of the document who is not authorized to access the selected text portion.
 10. A computer program product for processing documents, the computer program product comprising: a computer-readable storage medium; and computer-readable program code embodied in the computer-readable storage medium, wherein the computer-readable program code is configured to: automatically identifying text portions of a document, along with variations of at least one of the text portions in accordance with predefined variance criteria, as candidates for potential selection for a post-selection operation when the text portions meet predefined text selection candidate criteria; record a location of each of the candidates within the document in a store of candidate locations; displaying the document on a computer display; in response to determining that a cursor is in a predefined location of the document relative to a recorded location in the store of candidate locations of a candidate from the candidates in the document, highlight a text portion associated with the candidate in the document, wherein the highlighting is done independent of any input received via a computer input device to indicate an extent of the text portion, in response to receiving selection of the highlighted text portion, record the selection of the text portion in association with the text portion in a store of selections; and performing the post-selection operation on the selected text portion of the document.
 11. The computer program product of claim 10 wherein the computer-readable program code is configured to highlight the text portion when any part of the cursor is co-located with any part of the text portion or is within a predefined number of pixels of any part of the text portion or both.
 12. The computer program product of claim 10 wherein the computer-readable program code is configured to concurrently highlight the text portion and another text portion of the document.
 13. The computer program product of claim 10 wherein the computer-readable program code is configured to access the document that is stored on the computer-readable storage medium.
 14. The computer program product of claim 10 wherein the computer-readable program code is configured to consolidate two or more of the text portions that are considered close to each other in accordance with a predefined closeness criterion into a single text portion.
 15. The computer program product of claim 10 wherein the text portions are identified as candidates for selection for the post-selection operation when the text portions meet the predefined text selection candidate criterion that includes one or more of word, sentence, paragraph, and linguistic grammar-based criterion.
 16. The computer program product of claim 12 wherein the computer-readable program code is configured to concurrently highlight the portions wherein the highlighted text portions are of one or more of a same semantic entity type, a same value and variations of the same value in accordance with predefined variance criteria.
 17. The computer program product of claim 12 wherein the computer-readable program code is configured to record the selection of each of the text portions when a selection action is received in association with one of the text portions.
 18. The computer program product of claim 15 wherein the computer-readable program code is configured to perform the post-selection operation by withholding the selected text portion from a requestor of the document who is not authorized to access the selected text portion. 